//
//  ViewController.m
//  StringsApp
//
//  Created by iD Student on 6/24/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    welcomeMessage = @"Welcome to the game!";
    welcomeLabel.text = welcomeMessage;
    playerScoreText = @"Score: 0";
    scoreLabel.text = playerScoreText;
    playerScore = 0;
    
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction) scoreButtonPressed:(id)sender
{
    playerScore += 5;
    scoreLabel.text = [NSString stringWithFormat:@"Score: %d",playerScore];
}




@end
